﻿<UserControl x:Class="QWeiBoN.UserControler.TopicsControler"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">

    <Popup x:Name="TopicsPopup" IsOpen="False" HorizontalOffset="0" VerticalOffset="0">
        <Grid x:Name="TopicsGrid" Style="{StaticResource TopicsLayoutGrid}">
            <StackPanel>
                <TextBlock Text="#话题#" Style="{StaticResource TopicsTitleStyle}" />
                <StackPanel Orientation="Horizontal">
                    <TextBox x:Name="TopicsConent" Style="{StaticResource TopicsContentStyle}" GotFocus="TopicsConent_GotFocus" LostFocus="TopicsConent_LostFocus" />
                    <Button x:Name="InnerButton" Content="插入" Style="{StaticResource TopicsInnerButtonStyle}" Click="InnerButton_Click" />
                </StackPanel>
                <TextBlock Text="最近话题" Style="{StaticResource TopicsSubTitleStyle}" />
                <ListBox x:Name="TopicsList" Margin="12,0,0,80" Background="Transparent" Grid.ColumnSpan="2" Tap="TopicsList_Tap">
                    <ListBox.ItemTemplate>
                        <DataTemplate>
                            <TextBlock Text="{Binding}" Style="{StaticResource TopicsListContentStyle}" />
                        </DataTemplate>
                    </ListBox.ItemTemplate>
                </ListBox>
            </StackPanel>
        </Grid>
    </Popup>
</UserControl>
